package com.entity;

import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * 附件表
 * @author MiBAO
 *
 */
@Alias("BaseAppendix")
public class Appendix  extends BaseEntity{
	private static final long serialVersionUID = 1L;
	//编号
	private String id;
	//附件名称
	private String appendixName;
	//附件文件名
	private String appendixFileName;
	//附件后缀
	private String appendixSuffix;
	//附件大小
	private String appendixSize;
	//附件路径
	private String appendixUrl;
	//附件其他路径
	private String appendixOtherUrl;
	//上传时间
	private Date uploadTime;
	//显示上传时间
	private String uploadTimeToString;
	//下载次数
	private int downloadCount;
	//附件状态
	private String appendixState;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAppendixName() {
		return appendixName;
	}
	public void setAppendixName(String appendixName) {
		this.appendixName = appendixName;
	}
	public String getAppendixFileName() {
		return appendixFileName;
	}
	public void setAppendixFileName(String appendixFileName) {
		this.appendixFileName = appendixFileName;
	}
	public String getAppendixSuffix() {
		return appendixSuffix;
	}
	public void setAppendixSuffix(String appendixSuffix) {
		this.appendixSuffix = appendixSuffix;
	}
	public String getAppendixSize() {
		return appendixSize;
	}
	public void setAppendixSize(String appendixSize) {
		this.appendixSize = appendixSize;
	}
	public String getAppendixUrl() {
		return appendixUrl;
	}
	public void setAppendixUrl(String appendixUrl) {
		this.appendixUrl = appendixUrl;
	}
	public String getAppendixOtherUrl() {
		return appendixOtherUrl;
	}
	public void setAppendixOtherUrl(String appendixOtherUrl) {
		this.appendixOtherUrl = appendixOtherUrl;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	public int getDownloadCount() {
		return downloadCount;
	}
	public void setDownloadCount(int downloadCount) {
		this.downloadCount = downloadCount;
	}
	public String getAppendixState() {
		return appendixState;
	}
	public void setAppendixState(String appendixState) {
		this.appendixState = appendixState;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getUploadTimeToString() {
		return uploadTimeToString;
	}
	public void setUploadTimeToString(String uploadTimeToString) {
		this.uploadTimeToString = uploadTimeToString;
	}
	@Override
	public String toString() {
		return "appendix [id=" + id + ", appendixName=" + appendixName
				+ ", appendixFileName=" + appendixFileName
				+ ", appendixSuffix=" + appendixSuffix + ", appendixSize="
				+ appendixSize + ", appendixUrl=" + appendixUrl
				+ ", appendixOtherUrl=" + appendixOtherUrl + ", uploadTime="
				+ uploadTime + ", downloadCount=" + downloadCount
				+ ", appendixState=" + appendixState + "]";
	}
}